Skip to content

ci: build the QEMUv8 check image from the optee_os CI image - #863

Merged
jenswikl merged 1 commit into
OP-TEE:masterfrom
DavePatel-dev:ci-distro-qemu
Nov 26, 2026
Merged

jenswikl merged 1 commit into
OP-TEE:masterfrom
DavePatel-dev:ci-distro-qemu

Conversation

@DavePatel-dev

Copy link
Copy Markdown
Contributor

OP-TEE/build no longer builds QEMU for the QEMU targets and uses the distro
one instead (OP-TEE/build@4e3853045, "Stop building qemu for qemu targets by
default"), and the qemu_v8 manifest no longer fetches QEMU
(OP-TEE/manifest@f34aab8e8). The check image here is still built from
jforissier/optee_os_ci:qemu_check, and with it QEMU exits as soon as
qemu-check.exp starts it:

send: spawn id exp8 not open
    while executing
"send -- "root\r\r""
    (file ".../build/qemu-check.exp" line 61)

so every QEMUv8 check now fails before the guest boots (seen on #827). The
last passing CI run here is master on 18 Nov, before those changes.

Build the check image from the optee_os CI image, as optee_os does: it
provides the distro qemu-system-arm and the same get_optee.sh.
SELFBUILT_QEMU=y would not help, as the manifest no longer fetches the QEMU
sources.

@jenswikl

Copy link
Copy Markdown
Contributor

FYI @jan-kiszka
Good catch.
Reviewed-by: Jens Wiklander <jens.wiklander@oss.qualcomm.com>

OP-TEE/build no longer builds QEMU for the QEMU targets but uses the
distro one (build commit 4e3853045 "Stop building qemu for qemu targets
by default"), and the qemu_v8 manifest no longer fetches QEMU. With the
jforissier/optee_os_ci:qemu_check image, QEMU now exits as soon as the
check starts it, so every QEMUv8 check fails before the guest boots.

Build the check image from the optee_os CI image instead, as optee_os
does: it provides the distro qemu-system-arm and the same get_optee.sh.

Signed-off-by: Dave Patel <dave.patel@riscstar.com>
Reviewed-by: Jens Wiklander <jens.wiklander@oss.qualcomm.com>
@DavePatel-dev

Copy link
Copy Markdown
Contributor Author

FYI @jan-kiszka Good catch. Reviewed-by: Jens Wiklander <jens.wiklander@oss.qualcomm.com>

Thanks @jenswikl, added tag.

@jenswikl

Copy link
Copy Markdown
Contributor

Merging when CI passes.

@jan-kiszka

Copy link
Copy Markdown
Contributor

Yeah, good to know. Worth to check/align again with OP-TEE/optee_os#8228 once that is merged.

@jenswikl
jenswikl merged commit 3792c31 into OP-TEE:master Nov 26, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants